package agentRouter

import (
	"github.com/gin-gonic/gin"
	"hc_server/routers/api/v1/agentV1"
)

func TeamManagerRouter(router *gin.RouterGroup) {
	router.POST("/salesmen/list", agentV1.TeamManagerSalesmenList)        //业务员列表
	router.POST("/agent/list", agentV1.TeamManagerAgentList)              //代理商列表
	router.POST("/salesmen/getCode", agentV1.CodeGetSalesmenRegisterCode) //添加业务员获取验证码
	router.POST("/salesmen/add", agentV1.SalesmenMobileRegister)          //添加业务员
	router.POST("/agent/info", agentV1.TeamManagerAgentInfo)              //代理商详情
	router.POST("/agent/getRate", agentV1.TeamManagerAgentRateInfo)       //获取代理商费率
	router.POST("/agent/rate/update", agentV1.TeamManagerAgentRateUpdate) //上传代理商费率
	router.POST("/lian/mcc/list", agentV1.LianMccList)                    //获取经营范围列表
	router.POST("/lian/codeService/list", agentV1.LianCodeList)           //联动获取省市区列表
	router.POST("/lian/bank/list", agentV1.LianBankList)                  //联动获取银行列表
}
